package org.jeecg.jxc.base.goods.service;

import org.jeecg.jxc.base.goods.entity.Goods;
import org.jeecg.jxc.base.goods.entity.Unit;
import org.jeecg.jxc.base.goods.vo.PageVo;

import java.util.List;

/**
 * @author : luojin
 * @date : 2022/4/27 9:27
 */
public interface GoodsService {
    List<Unit> getUnitList();
    PageVo<Goods> pageGoods(Integer pageNo, Integer pageSize, String goodsName, Integer goodsTypeId);

    boolean addGoods(Goods goods);

    boolean delGoods(Integer goodsId);

    boolean updateGoods(Goods goods);
}
